package com.lcf.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 规则明细(RoleDetail)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:02
 */
@Data
@NoArgsConstructor
public class RoleDetailDTO {
    //满足人数
    @Schema(description = "满足人数")
    @NotNull(message = "满足人数不能为空")
    private Integer peopleNum;
    //折扣单价
    @Schema(description = "折扣单价")
    @NotNull(message = "折扣单价不能为空")
    private BigDecimal discount;
}

